><

About color units



A color is either a keyword or a numerical RGB specification, such as any color from the Real Web Colors tab () of the Color Palette.

The pop-up keyword color names are aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow. The 16 colors are from the W3C palette.

Numerical color specifications use the RGB color model. The format of an RGB value in hexadecimal notation is a #, immediately followed by either three or six hexadecimal characters--for example, #FFFFFF for white. The format of an RGB value in the functional notation is rgb, followed by a comma-separated list of three numerical values.


Using Cascading Style Sheets > About cascading style sheets > About color units